home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / SourceCode / Random / Makefile < prev    next >
Encoding:
Makefile  |  1992-12-19  |  1.3 KB  |  40 lines

  1. ###########################################################################
  2. #                                                                         #
  3. #    Objective-C object make dependencies                              #
  4. #                                                                         #
  5. ###########################################################################
  6.  
  7. all:    BinTest GaussianTest
  8.  
  9. Random.o: Random.h Random.m
  10.     cc -g -o Random.o -Wall -c Random.m
  11.  
  12. GaussianTest.o: GaussianTest.m Random.h
  13.     cc -g -o GaussianTest.o -Wall -c GaussianTest.m
  14.  
  15. BinTest.o: BinTest.m Random.h
  16.     cc -g -o BinTest.o -Wall -c BinTest.m
  17.     
  18. BinTest: BinTest.o Random.o
  19.     cc -O -g  -Wimplicit -o BinTest BinTest.o Random.o -lNeXT_s -lsys_s
  20.  
  21. GaussianTest: GaussianTest.o Random.o
  22.     cc -O -g  -Wimplicit -o GaussianTest GaussianTest.o Random.o -lNeXT_s -lsys_s
  23.  
  24.  
  25. ###########################################################################
  26. #                                                                         #
  27. #    Other make definitions                                            #
  28. #                                                                         #
  29. ###########################################################################
  30.  
  31. default:
  32.     make all
  33.  
  34. clean:
  35.     rm -f *.o BinTest GaussianTest
  36.  
  37. over:
  38.     make clean
  39.     make
  40.